package com.etone.smartAudit.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author: 蒋学伟
 * @create: 2020-07-08 08:43:17
 * @Description 城市
 */
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
@TableName(value = "d_city")
public class City implements Serializable {
    @TableId(type = IdType.AUTO, value = "intCityId")
    private Integer id;

    /**
     * 城市名称
     */
    @TableField("vcCity")
    private String name;

    /**
     * 省份id
     */
    @TableField("intProvinceId")
    private Integer provinceId;

    /**
     * 排序
     */
    @TableField("intSort")
    private Integer sort;
}
